package com.example.demo.socket;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.websocket.Session;

/*
 *
 *   @Author:max
 *   @Date: 2024/3/25-03-25-20:31
 *
 */
@ToString
//全参构造
@AllArgsConstructor
//无参数构造
@NoArgsConstructor
@Data
public class SocketUserInfo {
    //登录的用户昵称
    private String nickname;
    //当前会话
    private Session session;
}
